<template>
  <Layout>
      <div>
          <h1>Posts 2</h1>
          <ul>
              <li v-for="post in $page.posts.edges" :key="post.id">{{ post.node.title }}</li>
          </ul>
      </div>
  </Layout>
</template>

<page-query>
query {
  posts: allPost {
    edges {
      node {
        id
        title
        content
      }
    }
  }
}
</page-query>

<script>
export default {

}
</script>

<style>

</style>